﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/TemplateAdmin.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="ManageBanking.Areas.Admin.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	AddAccount
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderScrip" runat="server">
    
    <script src="../../../../Scripts/jquery.validate.js" type="text/javascript"></script>

    <script src="../../../../Scripts/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>

    <link href="../../../../Content/css/SucErr1.css" rel="stylesheet" type="text/css" />

    <script src="../../../../Scripts/wysiwyg.js" type="text/javascript"></script>

    <script src="../../../../Scripts/functions.js" type="text/javascript"></script>
    
    
	<script language="javascript" type="text/javascript">
	    
        $(document).ready(function() {

        $('#DateCreate').datepicker({
                showButtonPanel: true,
                changeMonth: true,
                changeYear: true,
                dateFormat: 'yy-mm-dd',
                yearRange: '1960:2020'

            });
        });             // ket thuc ready
    </script>
    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%if (Session["Login"] == null)
      {
           %>
                    <div class="err">
					<div class="err_icon"><!-- --></div>
					<a href="#" class="close" title="Close this notification">x</a>
					<div class="desc">
						<span>Error!</span>
						<p><%=ViewData["CheckII"]%></p>
					</div>
				</div>

<%} %>

<%else
        { %>

    <div class="center_block_top"><span>&nbsp;</span><h3>Registry</h3></div>
<div class="center_block_mau"><!--section-->
	<div id="intro">
        <blockquote>
        <div class="redistry">
  		<%using (Html.BeginForm("ResolveAddAccount", "ManageAdmin", FormMethod.Post, new { @id = "f1" }))
      { %>
  		<ul>
        	<li>
            	<span>ID Username:</span>
            	<div class="input_text"></div>
            	<div><input name="IdUsername" type="text" id="IdUsername" size="20" /></div></li>
            <li>
            	<span>Type Account:</span>
            	<div class="abc">
            	    <select class="combobox-addacc" name="IdType">
            	        <% foreach (TypeAccount tac in (List<TypeAccount>)ViewData["listtypeacc"])
                        {%>
            	        <option class="option-addacc" value='<%= tac.IdType %>' ><%= tac.TypeName%></option>
            	        <% } %>
            	    </select>
            	</div></li>
            
            <li>
            	<span>Date Create:</span>
            	<div class="input_text"></div>
            	<div><input name="DateCreate" type="text" id="DateCreate" size="20" /></div></li>
            	
          
            <!-- button -->
            <li>
            	<span>&nbsp;</span>
                <ul>
                	<li ><input type="submit" name="button" value="OK" class="ok"/></li>
                    <li id="cancel" ><input type="reset" name="button" value="Reset" class="ok" /></li>
                </ul>
            </li>
        </ul>
        <%} %>
  </div>
</blockquote>
<div class="clearBoth"></div>

</div>
<!--//intro-->
</div>
    <div class="center_block_bottom_mau"></div>
<%} %>
</asp:Content>


